<?php /* Smarty version 2.6.25, created on 2011-05-08 11:23:50
         compiled from productlist.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>PRODUCT LIST</title>
<link href="css/page.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
    	<img id="logo" src="images/logo.jpg" width="416" height="43" alt="" />
        <div id="login"><a href="#">Login</a> | <a href="#">Register</a></div>
    </div>
    <div id="nav">
    	<div id="nav_list">
        	<a href="index.php">HOME</a>
        	<a href="controller.php?do=list">PRODUT</a>
        	<a href="controller.php?do=contact_us">CONTACT US</a>
        	<a href="controller.php?do=about_us">ABOUT US</a>
        	<a href="controller.php?do=faq">FAQ</a>
        </div>
        <div id="tel">TEL:1240935589385</div>
    </div>
    <div id="container">
    	<div id="left">
        	<div class="title"><a href="#">Products Categories</a></div>
            <table style="margin-bottom:35px;">
            	<tr><td rowspan="4" style="padding:0px;"><img src="images/line.jpg" width="99" height="137" /></td><td height="20"></td></tr>
                <tr><td height="35"><div class="<?php if ($this->_tpl_vars['categroy'] == '7'): ?> btn1 <?php else: ?> btn2 <?php endif; ?>"><a href="controller.php?do=list7">7" inch</a></div></td></tr>
                <tr><td height="35"><div class="<?php if ($this->_tpl_vars['categroy'] == '8'): ?> btn1 <?php else: ?> btn2 <?php endif; ?>"><a href="controller.php?do=list8">8" inch</a></div></td></tr>
                <tr><td height="35"><div class="<?php if ($this->_tpl_vars['categroy'] == '10'): ?> btn1 <?php else: ?> btn2 <?php endif; ?>"><a href="controller.php?do=list10">10" inch</a></div></td></tr>
            </table>
        	<div class="title"><a href="#">Related Products</a></div>
            <table cellpadding="5" cellspacing="5" style="margin-top:28px;">
			<?php $_from = $this->_tpl_vars['accessory']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['accessory']):
?>
            <tr><td valign="top"><!--<input type="checkbox" />--></td><td valign="top"><img src="images/img.jpg" width="69" height="77" /></td><td valign="top"><span class="product"><?php echo $this->_tpl_vars['accessory']['goods_sn']; ?>
</span><br /><span class="product"><?php echo $this->_tpl_vars['accessory']['goods_name']; ?>
</span><br /><span class="product">$<?php echo $this->_tpl_vars['accessory']['price']; ?>
</span><br /><span class="product"><a href="#">Add to Wishlist</a></span></td></tr>
			<?php endforeach; endif; unset($_from); ?>
            
            </table>
            <img style="margin:30px 35px;" src="images/paypal.jpg" width="150" height="60" />
        </div>
		
		
		
    	<div id="right">
		<?php $_from = $this->_tpl_vars['all_products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['goods']):
?>
        	<div class="pro_list">
                <div style="font-size:14px; color:#D36915;"><?php echo $this->_tpl_vars['goods']['goods_name']; ?>
<br />($<?php echo $this->_tpl_vars['goods']['price']; ?>
)
</div>

				<a href="controller.php?do=<?php echo $this->_tpl_vars['categroy']; ?>
.<?php echo $this->_tpl_vars['goods']['goods_id']; ?>
"><img style="margin:15px 0px;" src="images/img1.jpg" width="221" height="141" /></a>
                
                <table>
                	<tr><td colspan="2"><span style="color:#fff; font-size:16px;">Additional Info</span></td></tr>
                	<tr><td width="86">CPU_chip</td><td><?php echo $this->_tpl_vars['goods']['CPU_chip']; ?>
</td></tr>
                	<tr><td width="86">CPU_zhupin</td><td><?php echo $this->_tpl_vars['goods']['CPU_zhupin']; ?>
MHz</td></tr>
                	<tr><td width="86">hard_drive</td><td><?php echo $this->_tpl_vars['goods']['hard_drive']; ?>
</td></tr>
                	<tr><td width="86">blue_tooth</td><td><?php echo $this->_tpl_vars['goods']['blue_tooth']; ?>
</td></tr>
                	<tr><td width="86">OS</td><td><?php echo $this->_tpl_vars['goods']['os']; ?>
</td></tr>
                </table>

            </div>
			<?php endforeach; endif; unset($_from); ?>
			
		</div>
		
        <div class="c"></div>
            <div class="getpage" style="float:none; text-align:center"><!--<a href="#"> |< </a> <a href="#"> << </a> <a href="#"> < </a>    <a href="#"> > </a> <a href="#"> >> </a> <a href="#"> >| </a>--></div>
            
        <div class="c"></div>
		
    </div>
	<div id="footer">
		<IMG src="images/3.jpg" />
		<IMG src="images/2.jpg" />
		<IMG src="images/1.jpg" />
        <div class="c"></div>
        Copyright CITIZEN WATCH (CHINA) CO., LTD. All Rights Reserved.

    </div>
</body>
</html>